#1 mm = 39.3701 mils 1 mil = 0.0254 mm
#mm转为mil
mm = 0.2
mil = mm/0.0254
print(round(mil,2))

#mil转mm
def millimetre(mil):
    mm = mil*(1/0.0254)
    #print(mm)
    mm = round(mm,2)  #意思为保留mm的两位小数
    return mm

if __name__ == '__main__':
    mms = millimetre(1)
    print(mms)
    